import request from '@/http/request.ts';

const BaseURL = '/activity'

export function activityCreate(params:Object){
    return request({
        url: BaseURL+'/create',
        method: 'get',
        params
    })
}

export function activityRefreshBox(params:Object){
    return request({
        url: BaseURL+'/refreshBox',
        method: 'get',
        params
    })
}

export function activityOpen(data:FormData){
    return request({
        url: BaseURL+'/open',
        method: 'post',
        data
    })
}